home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / book / mac / ch15 / 15fig13.wrl < prev    next >
Text File  |  1996-09-23  |  408b  |  22 lines

  1. #VRML V2.0 utf8
  2. # The VRML 2.0 Sourcebook
  3. # Copyright [1997] By
  4. # Andrea L. Ames, David R. Nadeau, and John L. Moreland
  5. Shape {
  6.     appearance Appearance {
  7.         material Material {
  8.             diffuseColor 1.0 0.5 0.0
  9.         }
  10.     }
  11.     geometry Extrusion {
  12.         crossSection [
  13.         # Square
  14.             -1.0  1.0,   1.0  1.0,
  15.              1.0 -1.0,  -1.0 -1.0,
  16.             -1.0  1.0
  17.         ]
  18.         spine [ 0.0 0.0 0.0,  0.0 1.0 0.0 ]
  19.         scale [ 1.0 1.0,      0.01 0.01 ]
  20.     }
  21. }
  22.